package cn.tx.service;

import cn.tx.model.Role;
import cn.tx.model.User;

import java.util.List;
import java.util.Map;

public interface RoleService {
    public Role findByUserName(String username);
    public int addRole(Role role);
    public List<Role> findList(Map<String,Object> querymap);
    public int findTotal(Map<String,Object> querymap);
    public int UpdateRoleById(Role role);
    public int delete(String ids);
    public List<Role> findAll();


}
